package com.elink.enginerring.service;

import java.util.Map;

import com.elink.enginerring.co.BaseCo;
import com.elink.enginerring.co.PostbarCo;
import com.elink.enginerring.domain.Postbar;

public interface PostbarService {

	Map<String, Object> getList(PostbarCo co);

	Map<String, Object> getInfo(String pbId, BaseCo co,String userId);

	Map<String, Object> add(Postbar postbar,String dcIds);

	Map<String, Object> getHotPostbar(int count);

	Map<String, Object> getPostbarById(BaseCo co, String userId);

	Map<String, Object> updatePostbar(String postbarId,String userId);

	Map<String, Object> getRelevant(String pbId, int count);

	Map<String, Object> getPostbarList(int scid,int hierId);

	Map<String, Object> getPostbarOfIndex(int count);

	Map<String, Object> getPostbarRank(int count);
	
	Map<String, Object> getReplyByUserId(BaseCo co, String userId);

	Map<String, Object> modify(Postbar postbar, String dcId, String oldDcId);

	Map<String, Object> getListByKeyWord(BaseCo co, Boolean replyCount,Boolean time, String keyWord);
}
